Integrity Assurance and Rebootless Updating During Runtime

ABSTRACT

Techniques are described herein for, without rebooting a computing device, unloading at least a component of a kernel-mode component of the computing device and loading an updated version of the component of the kernel-mode component. The techniques may be performed by an integrity manager associated with the kernel-mode component. The integrity manager may also determine integrity of the kernel-mode component by causing the kernel-mode component to perform an action associated with a known reaction, determining whether the known reaction occurred, and in response, performing a remediation action or notifying a remote security service. Further, the integrity manager may determine whether any computing device lists include representations of components or connections associated with the kernel-mode component. The integrity manager may then remove the representations from the lists or remove the representations from responses to requests for contents of the computing device lists.

CROSS REFERENCE TO RELATED APPLICATIONS

This patent application claims priority to U.S. Utility patent application, Application Ser. No. 14/220,362, filed Mar. 20, 2014. Application Ser. No. 14/220,362 is fully incorporated herein by reference.

BACKGROUND

With Internet use forming an ever greater part of day to day life, security exploits that steal or destroy system resources, data, and private information are an increasing problem. Governments and businesses devote significant resources to preventing intrusions and thefts related to these security exploits. Security exploits come in many forms, such as computer viruses, worms, trojan horses, spyware, keystroke loggers, adware, and rootkits. These exploits are delivered in or through a number of mechanisms, such as spearfish emails, clickable links, documents, executables, or archives. Some of the threats posed by security exploits are of such significance that they are described as cyber terrorism or industrial espionage.

Many security software solutions, such as anti-virus software, have been developed to combat these security exploits. These security software solutions require maintenance, such as updates and patches, and to apply these updates and patches, the computing devices implementing the security software solutions must usually reboot. During the reboot, the security software solutions may not be active, providing an opportunity for security exploits to gain control of the computing devices. Even while the security software solutions are running, security exploits may subvert the security software solutions in any number of ways, such as killing or corrupting the security software solutions.

BRIEF DESCRIPTION OF THE DRAWINGS

The detailed description is set forth with reference to the accompanying figures. In the figures, the left-most digit(s) of a reference number identifies the figure in which the reference number first appears. The use of the same reference numbers in different figures indicates similar or identical items or features.

FIG. 1 illustrates an example environment in which an integrity manager associated with a kernel-mode component of a computing device ensures the integrity of the kernel-mode component during runtime and enables rebootless updating of the kernel-mode component.

FIG. 2 illustrates a component level view of a computing device configured with a kernel-mode component and an integrity manager.

FIG. 3 illustrates an example process for receiving, by an integrity manager, a request associated with an update of a kernel-mode component and for, without rebooting, unloading the kernel-mode component and loading an updated version of the kernel-mode component.

FIG. 4 illustrates an example process for determining integrity of a kernel-mode component by determining whether a known reaction to an action of the kernel-mode component or the system occurred, and, if it did not occur, performing a remediation action or notifying a remote security service.

FIG. 5 illustrates an example process for determining that a computing device list includes a representation of a component or a connection associated with a kernel-mode component and either removing the representation from the list or removing the representation from a response to a request for contents of the list.

DETAILED DESCRIPTION

This disclosure describes, in part, techniques for rebootless updating of a kernel-mode component, such as a security agent, of a computing device. An integrity manager associated with the kernel-mode component receives a request associated with an update to the kernel-mode component. In response, without rebooting the computing device, the integrity manager unloads at least a component of the kernel-mode component, such as a kernel-mode component executable, and loads an updated version of the component of the kernel-mode component. The integrity manager may store a state of a state manager of the kernel-mode component during the update and may initialize the updated kernel-mode component with the state of the state manager. Also, the integrity manager may register hooks with the operating system on behalf of the kernel-mode component, receive events associated with the hooks, log the events during the update, and deliver the logged events to the updated kernel-mode component. In some embodiments, rather than delivering the logged events, the integrity manager may act on them on its own when the integrity manager has sufficient knowledge of how to perform the correct action. Also, the integrity manager may register hooks at the lowest possible location on the system, or may use operating system-provided veto mechanisms, to force such a registry reads to occur or network packets to be sent, regardless of whether other components on the system, such as security software or malware, attempts to block the operation(s). In addition, the integrity manager may utilize operating-system provided veto mechanisms to force one or more actions. Further, the integrity manager may include a thread manager to spawn threads on behalf of the kernel-mode component and provide results of the threads to the kernel-mode component. By having the integrity manager spawn threads, the kernel-mode component need not wait for threads to return before proceeding with the update.

In various embodiments, the integrity manager may also determine the integrity of the kernel-mode component. Such determining may include determining that a known reaction did not occur responsive to an action by the kernel-mode component or the system, and performing either or both of a remediation action or notifying a remote security service. The integrity manager may further determine the integrity of a data store of the kernel-mode component. In response to determining that the data store has been compromised, the integrity manager may delete data from the data store or create a new data store.

Additionally, the integrity manager may hide the existence and operation of the kernel-mode component from other applications and processes of the computing device. To hide the existence and operation of the kernel-mode component, the integrity manager may determine whether any computing device lists include representations of components or connections associated with the kernel-mode component. The integrity manager may then remove the representations from the lists or remove the representations from responses to requests for contents of the computing device lists.

Example Environment

FIG. 1 illustrates an example environment in which an integrity manager associated with a kernel-mode component of a computing device ensures the integrity of the kernel-mode component during runtime and enables rebootless updating of the kernel-mode component. As illustrated, a computing device 102 may be connected to a remote security service 104 via a network 106. The computing device may include an operating system 108, applications and processes 110, an integrity manager 112 associated with a kernel-mode component 114, and the kernel-mode component 114. The integrity manager 112 is connected to the kernel-mode component 114 by a communication channel 116. The operating system 108 may include computing device lists 118 that may be monitored and modified by the integrity manager 112, as well as hooks 120 that the integrity manager 112 may register with the operating system 108. The integrity manager 112 may include a log 122 to record events generated by the hooks 120, a state of a state manager 124, and a thread manager 126. The kernel-mode component 114 may include a state manager 128, the state of which is stored as the state of the state manager 124, and a data store 130. Additionally, the kernel-mode component 114 may include both an old version 132 of the kernel-mode component 114 and an updated version 134 that the kernel-mode component 114 will be updated to.

In various embodiments, the computing device 102 may be a server or server farm, multiple, distributed server farms, a mainframe, a work station, a personal computer (PC), a laptop computer, a tablet computer, a personal digital assistant (PDA), a cellular phone, a media center, an embedded system, or any other sort of device or devices. When implemented on multiple computing devices, the computing device 102 may distribute the components and processes illustrated in FIG. 1 among the multiple computing devices. In some implementations, the computing device 102 represents one or more virtual machines implemented on one or more computing devices. An example computing device capable of serving as a computing device 102 is illustrated in FIG. 2 and described below with reference to that figure.

In some embodiments, the operating system 108 may be any sort of operating system, such as a Windows® operating system or a UNIX operating system. The operating system 108 may have load and unload functions for loading and unloading components. The load and unload functions may be invoked, for example, by the integrity manager 112 to unload at least a component of the kernel-mode component 114 and to load an updated version of the kernel-mode component 114. The operating system 108 also includes a number of computing device lists 118, such as a list of drivers, a list of network connections, a list of operating system hooks, a list of directories, or a list of registry keys. Applications and processes 110, integrity manager 112, and kernel-mode component 114 may request contents of these lists 118. Also, the operating system 108 may enable the integrity manager 112 to register a number of hooks. By registering hooks, the integrity manager 112 may be able to capture events occurring on the computing device 102.

In further embodiments, the applications and processes 110 may be any sort of applications and processes, including both benign and malicious programs. For example, applications and processes 110 may include a security exploit that deliberately monopolizes system resources, effectively causing a denial-of-service attack against the kernel-mode component 114. Such a security exploit could also or instead corrupt data of the kernel-mode component 114, such as the data store 130, or kill or misdirect the kernel-mode component 114. Additionally, even when an application or process 110 is not a security exploit, the application or process 110 may still have non-benign effects, such as over-utilizing system resources.

In various embodiments, the integrity manager may be a single component or may be a combination of components with the same title/job/behavior. The integrity manager 112 may ensure the integrity of the kernel-mode component 114 during the boot phase and runtime of the computing device 302. As described herein, the integrity manager 112 may ensure integrity during runtime through integrity checks of the kernel-mode component 114, through hiding the presence and operation of the kernel-mode component 114 from other applications and processes 110, and through managing the rebootless updating of the kernel-mode component 114.

In some embodiments, the integrity manager 112 may register hooks on behalf of the kernel-mode component 114 and relay events associated with those hooks 120 to the kernel-mode component 114 over the communication channel 116. The integrity manager 112 is utilized to register hooks 120 on behalf of the kernel-mode component 114 so that those hooks 120 are not lost during the rebootless updating of the kernel-mode component 114.

Additionally, the integrity manager 112 may register hooks at the lowest possible location on the system or may use operating-system provided veto mechanisms. It may do so to ensure that registry reads by the kernel-mode component 114 occur or network packets transmitted by the kernel-mode component 114 are sent, regardless of other processes, such as security vendors, attempting to block those operations. Also, by having the integrity manager 112 register the hooks 120, the integrity manager can log events by, for instance, logging the events in the log 122, while the kernel-mode component 114 is being updated and is unable to receive the events. When the kernel-mode component 114 is updated, the integrity manager 112 may then deliver the events logged in the log 122. Thus, the kernel-mode component 114 is able to obtain a complete record of events associated with hooks 120 by having the integrity manager 112 handle hook registration and event relaying on its behalf.

In further embodiments, the integrity manager 112 may maintain a state of the state manager 124. Such a state 124 may be a root state for the state manager 128. The state manager 128 may maintain handles, registry keys, memory allocations, or other non-persistent state information for the kernel-mode component 114. The state of the state manager 124 may be provided to the integrity manager 112 over the communication channel 116 periodically, or when the state manager 128 boots up, or as part of a rebootless update, prior to the unloading of the component of the kernel-mode component 114. Upon completion of a rebootless update, the integrity manager 112 provides the state of the state manager 124 to the state manager 128 of the kernel-mode component 114 to initialize the state manager 128 to the state of the state manager 124. In this way, non-persistent state, such as handles to registry keys and files, existing calculations on gathered data, and memory allocations, are not lost during the rebootless update.

In some embodiments, the integrity manager 112 may include a thread manager 126 to initiate threads on behalf of the kernel-mode component 114. For example, the thread manager 126 may receive a request to initiate a thread to calculate a cryptographic hash of a file from the kernel-mode component 114, via the communication channel 116. The thread manager 126 may then initiate the thread and, upon completion of the thread, provide a result of the thread's execution to the kernel-mode component 114 over the communication channel 116. By having the integrity manager 112, rather than the kernel-mode component 114, handle management of threads for the kernel-mode component 114, the kernel-mode component 114 need not wait for a thread to return before beginning a rebootless update. If a thread returns while the kernel-mode component 114 is being updated, the thread returns to the thread manager 126, which may maintain the result of the thread execution during the update and may provide it to the kernel-mode component 114 at the completion of the update.

The integrity manager 112 may also be responsible for registering notification callbacks and/or completion routines that are associated with various input/output operations which a kernel-mode component 114 can initiate or with other system changes (e.g., changes that a kernel-mode component 114 may seek to be notified about). Because such completion routines or notification callbacks may be called at any time by the operating system 108, it may not be possible to synchronize such callbacks with the unloading of a kernel-mode component 114. As such, it could be possible for a kernel-mode component 114 to have been unloaded, but for an I/O completion notification to still be delivered to what is now a stale (unloaded) address, causing a system crash. In order to avoid this issue, the integrity manager 112 takes on the responsibility of registering such completion routines and notification callbacks such that the operating system 108 is enabled to safely deliver code that is resident in memory. The integrity manager 112, if it determines that the kernel-mode component 114 is still active and safely accessible (or through a publisher/subscriber model), then notifies the kernel-mode component 114 of such notifications of completions. If the kernel-mode component 114 is not present, the integrity manager 112 may simply ignore the notification or completion.

In various embodiments, a rebootless update of the kernel-mode component 114 may be responsive to the kernel-mode component 114 receiving an update to a component of the kernel-mode component 114, such as the kernel-mode component executable. Once the kernel-mode component 114 has received the update, the kernel-mode component 114 may request, over the communication channel 116, that the integrity manager 112 manage the rebootless update. Upon receiving the request to manage the rebootless update, the integrity manager 112 may, in some embodiments, retrieve a state of the state manager 124 from the state manager 128. In other embodiments, the integrity manager 112 may be in possession of the state 124. The integrity manager 112 may then unload the component of the kernel-mode component 114, which may involve requesting that the operating system 108 unload the component of the kernel-mode component 114. Upon receiving confirmation of the unload, the integrity manager 112 may initiate the loading of the updated version 134 of component of the kernel-mode component 114. This may involve invoking an operating system load function of the operating system 108 to load the updated version 108. After the unloading and prior to the loading, if the integrity manager 112 receives events associated with the hooks 120, the integrity manager 112 logs the events in the log 122.

After the loading, the integrity manager 112 may determine whether the kernel-mode component 114 has been successfully updated. If the update was not successful, the integrity manager 112 may unload the updated version 134 and reload the old version 132 that was replaced by the updated version.

Once the load has been successfully completed, the integrity manager 112 may provide the state of the state manager 124 to the state manager 128 to initialize the state manager 128 and may deliver events stored in the log 122.

In further embodiments, the integrity manager 112 may receive an update to the integrity manager 112 from the remote security service 104. Upon receiving such an update, the integrity manager 112 may initiate an update process, which may involve a reboot of the computing device 102.

In various embodiments, the integrity manager 112 may perform any of a number of integrity checks to insure the integrity of the kernel-mode component 114 during runtime. These integrity checks may include causing the kernel-mode component 114 to perform an action (e.g., generate an event, such as writing a registry key) with a known reaction (e.g., event generated and processed). Alternatively or additionally, the integrity checks may include detecting whether a system action associated with a known reaction has occurred. The integrity manager 112 then determines whether the known reaction occurred (e.g., determining whether the event was generated and determining whether the event was processed). If the integrity manager 112 determines that the known reaction did not occur, the integrity manager 112 may perform a remediation action or notify the remote security service 104. In some embodiments, such a notification to the remote security service 104 may be via a communication module of the integrity manager 112, as the communication module of the kernel-mode component 114 may be compromised. These integrity checks may be performed on a periodic basis or may be triggered by events. For example, the integrity manager 112 may determine that there is no activity on the part of the kernel-mode component 114 and may, in response, perform one or more integrity checks.

In some embodiments, a given action may be associated with multiple known reactions, and different remedies or notifications may be applied by the integrity manager 112 depending on the differing reactions. For example, known reactions may include generation of an event and processing of the event. If the event is generated but not processed, the integrity manager 112 may perform a first remediation action or send a first notification. For instance, the event may not have been processed because of over-utilization of resources. In response, the integrity manager 112 may generate a new worker thread, flush an event queue, or reset the kernel-mode component 114. The integrity manager 112 may then repeat the integrity check to determine whether the event is now processed. Alternatively, the integrity manager 112 may simply reload the kernel-mode component 114 and repeat the integrity check. If, on the other hand, the event is not even generated, the integrity manager 112 may perform a second remediation action or send a second notification. For instance, the integrity manager 112 could register a new operating system hook 120 and repeat the integrity check to determine whether the new hook 120 captures the event.

Another example of an integrity check is validating the signature of the kernel-mode component 114. Some operating systems, such as the UNIX and Macintosh (or, popularly, “Mac”) operating systems, do not perform digital signature validation, and other operating systems, such as the Windows family of operating systems, only perform digital signature validation on their 64-bit variants. Even operating systems which perform digital signature validation only validate that a valid company has signed the binaries, not that a security service or the manufacturer has signed them. The integrity manager 112 validates the signature of the components it manages (including its own) and compares the public key used in the digital signature with the expected public key of the manufacturer. If no key is present at all, or if the wrong key is present, the integrity manager 112 may take appropriate measures (e.g., remediation, notification, etc.).

In further embodiments, the integrity checks may include determining whether a data store 130 of the kernel-mode component 114 is compromised. The data store 130 (e.g., a situational model) may track attributes, patterns, and behaviors of applications and processes 110. If the integrity manager 112 determines that the data store 130 is compromised, the integrity manager 112 may either delete data from the data store 130 or create a new data store 130 and initialize the new data store 130 based on the previous data store 130. By taking one of these remedial actions, the integrity manager 112 enables the data store 130 to continue tracking track attributes, patterns, and behaviors of applications and processes 110.

In various embodiments, the integrity manager 112 may ensure the integrity of the kernel-mode component 114 during runtime by hiding the existence or operation of the kernel-mode component 114 from other applications and processes 110. The integrity manager 112 may check the lists 118 to determine whether any of the lists include a representation of a component or connection associated with the kernel-mode component 114. Such a component may, for example, be a driver, an operating system hook, a directory, or a registry key. If a list 118 includes such a representation, the integrity manager 112 may either remove the representation from the list 118 or intercept responses to requests for contents of the list 118 to remove the representation from the response. Removing the representation from the response rather than the list 118 may be appropriate when removal from the list 118 would hinder operation of the kernel-mode component 114. The integrity manager 112 may also intercept requests to open or access a representation in a list 118 (e.g. a request to open a directory for the kernel-mode component 114 in a list 118 of directories). The integrity manager 112 may then respond to the intercepted request and state that the representation (e.g., the directory) does not exist.

The kernel-mode component 114, which may be a security agent, may monitor and record activity on the computing device 102, may analyze the activity, and may generate alerts and events and provide those alerts and events to the remote security service 104. The kernel-mode component 114 may be installed by and configurable by the remote security service 104, receiving, and applying while live, reconfigurations of the kernel-mode component 114. The kernel-mode component 114 may handle live application of updates of a number of kernel-mode component components. Updating of the kernel-mode component executable may be performed by the integrity manager 112, in the manner described above. An example kernel-mode component 114 is described in greater detail in U.S. patent application Ser. No. 13/492,672, entitled “Kernel-Level Security Agent” and filed on Jun. 8, 2012.

The state manager 128, data store 130, old version 132 of the kernel-mode component 114, and new version 134 of the kernel-mode component 114 are described above in greater detail.

In various embodiments, the devices implementing the remote security service 104 may each be or include a server or server farm, multiple, distributed server farms, a mainframe, a work station, a personal computer (PC), a laptop computer, a tablet computer, a personal digital assistant (PDA), a cellular phone, a media center, an embedded system, or any other sort of device or devices. In one implementation, the devices implementing the remote security service 104 represent a plurality of computing devices working in communication, such as a cloud computing network of nodes. In some implementations, one or more of the devices implementing the remote security service 104 represent one or more virtual machines implemented on one or more computing devices.

In some embodiments, the remote security service 104 may be a provider of information security services to individual users and client entities, such as maintenance, updating, and configuration of the kernel-mode component 114 and integrity manager 112, threat modeling, and/or remediation. The remote security service 104 may receive alert notifications and security events, either from the kernel-mode component 114 or from the integrity manager 112 via its communication module. In response, the remote security service 104 may update a configuration for either or both of the kernel-mode component 114 or the integrity manager 112, may provide instructions to the kernel-mode component 114 or the integrity manager 112, or may take some healing or remediation action.

In various embodiments, the network 106 may include any one or more networks, such as wired networks, wireless networks, and combinations of wired and wireless networks. Further, the network 106 may include any one or combination of multiple different types of public or private networks (e.g., cable networks, the Internet, wireless networks, etc.). In some instances, computing devices communicate over the network 106 using a secure protocol (e.g., https) and/or any other protocol or set of protocols, such as the transmission control protocol/Internet protocol (TCP/IP).

Example System

FIG. 2 illustrates a component level view of a computing device configured with a kernel-mode component and an integrity manager. As illustrated, computing device 200 comprises a memory 202 storing an operating system 204, a kernel-mode component 206, an integrity manager 208, and applications and data 210. Also, computing device 200 includes processor(s) 212, a removable storage 214 and non-removable storage 216, input device(s) 218, output device(s) 220 and communication connections 222 for communicating with other computing devices 224.

In various embodiments, memory 202 is volatile (such as RAM), non-volatile (such as ROM, flash memory, etc.) or some combination of the two. The operating system 204 may be any sort of operating system, such as the operating system described above in detail with respect to FIG. 1. The kernel-mode component 206 and integrity manager 208 are described above in detail with respect to FIG. 1. The applications and data 210 may be any sort of applications and data, such as the applications and data described above in detail with respect to FIG. 1.

In some embodiments, the processor(s) 212 is a central processing unit (CPU), a graphics processing unit (GPU), or both CPU and GPU, or other processing unit or component known in the art.

Computing device 200 also includes additional data storage devices (removable and/or non-removable) such as, for example, magnetic disks, optical disks, or tape. Such additional storage is illustrated in FIG. 2 by removable storage 214 and non-removable storage 216. Tangible computer-readable media may include volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information, such as computer readable instructions, data structures, program modules, or other data. Memory 202, removable storage 214 and non-removable storage 216 are all examples of computer-readable storage media. Computer-readable storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by the computing device 200. Any such tangible computer-readable media may be part of the computing device 200.

Computing device 200 also has input device(s) 218, such as a keyboard, a mouse, a touch-sensitive display, voice input device, etc., and output device(s) 220 such as a display, speakers, a printer, etc. These devices are well known in the art and need not be discussed at length here.

Computing device 200 also contains communication connections 222 that allow the computing device 200 to communicate with other computing devices 224, such as device(s) the remote security service 104.

Example Processes

FIGS. 3-5 illustrate example processes 300, 400, and 500. These processes are illustrated as logical flow graphs, each operation of which represents a sequence of operations that can be implemented in hardware, software, or a combination thereof. In the context of software, the operations represent computer-executable instructions stored on one or more computer-readable storage media that, when executed by one or more processors, perform the recited operations. Generally, computer-executable instructions include routines, programs, objects, components, data structures, and the like that perform particular functions or implement particular abstract data types. The order in which the operations are described is not intended to be construed as a limitation, and any number of the described operations can be combined in any order and/or in parallel to implement the processes.

FIG. 3 illustrates an example process for receiving, by an integrity manager, a request associated with an update of a kernel-mode component and for, without rebooting, unloading the kernel-mode component and loading an updated version of the kernel-mode component. The process 300 includes, at 302, registering, by an integrity manager that is associated with a kernel-mode component of a computing device, operating system hooks on behalf of the kernel-mode component. At 304, the integrity manager then relays events associated with the operating system hooks to the kernel-mode component.

In addition to or in alternative to the operations shown at 302-304, the integrity manager, at 306, receives a request to spawn a thread on behalf of the kernel-mode component and, at 308, provides a result of the thread to the kernel-mode component.

In addition or in alternative to either or both of the operations shown at 302-304 or 306-308, the integrity manager, at 310, maintains a state of a state manager of the kernel-mode component. The state manager maintains handles to registry keys and files, and memory allocations for the kernel-mode component.

At 312, the kernel-mode component receives an update of at least one component of the kernel-mode component, such as an updated kernel-mode component executable. The kernel-mode component then requests that the integrity manager mage a rebootless update of the kernel-mode component and the integrity manager, at 314, receives the request. At 316, the integrity manager then unloads at least a component of the kernel-mode component without rebooting the computing device. At 316 a, the unloading includes requesting that the operating system of the computing device unload the component of the kernel-mode component (e.g., the kernel-mode component executable). At 318, while the component of the kernel-mode component is unloaded, the integrity manager logs events associated with the operating system hooks registered at 302. At 320, the integrity manager loads the updated version of the component of the kernel-mode component, which may be or include the update received by the kernel-mode component at 312. At 320 a, the loading may include invoking an operating system load function to load the updated version of the kernel-mode component. At 322, if the load fails, the integrity manager reloads the unloaded version of the component of the kernel-mode component.

At 324, the integrity manager then initializes the updated kernel-mode component with the state of the state manager.

At 326, the integrity manager delivers the events logged while the kernel-mode component was unloaded to the updated kernel-mode component.

At 328, the integrity manager determines that the integrity manager is to be updated and reboots the computing device.

FIG. 4 illustrates an example process for determining integrity of a kernel-mode component by determining whether a known reaction occurred responsive to an action by the agent or the system, and, if it did not occur, performing a remediation action or notifying a remote security service. The process 400 includes, at 402, determining, by an integrity manager associated with a kernel-mode component of a computing device, whether the kernel-mode component is inactive.

At 404, in response to determining that the kernel-mode component is inactive, or without any such determination, the integrity manager determines the integrity of the kernel-mode component. This determining includes, at 406, causing the kernel-mode component to perform an action that is associated with a known reaction or detecting that a system action associated with a known reaction occurred. At 408, the integrity manager determines whether the known reaction occurred. If the known reaction did not occur, then the integrity manager performs either or both of, at 410, a remediation action or, at 412, notifying a remote security service.

In some embodiments, the action includes generating an event and the known reaction includes generation of the event and processing of the event. The integrity manager then performs, at 410, a first remediation action or sends, at 412, a first notification to the remote security service in response to determining, at 408, that the event was generated but not processed. The integrity manager performs, at 410, a second remediation action or sends, at 412, a second notification to the remote security service in response to determining, at 408, that the event was not generated. Also or instead, the integrity manager may determine, at 408, that the event was generated but not processed and, in response, perform, at 410, the remediation action, the remediation action including generating a new worker thread, flushing an event queue, or resetting the kernel-mode component.

At 414, the integrity manager determines the integrity of a data store of the kernel-mode component. This determining includes, at 416, determining whether the integrity of the data store has been compromised and if it has, performing either or both of, at 418, deleting data from the data store or, at 420, saving state of the data store, creating a new data store, and initializing the new data store to the saved state.

FIG. 5 illustrates an example process for determining that a computing device list includes a representation of a component or a connection associated with a kernel-mode component and either removing the representation from the list or removing the representation from a response to a request for contents of the list. The process 500 includes, at 502, determining, by an integrity manager associated with a kernel-mode component of a computing device, that a computing device list includes a representation of a component or a connection associated with a kernel-mode component of the computing device. The component may be a driver, an operating system hook, a directory, or a registry key, and the computing device list may be a list of drivers, a list of network connections, a list of operating system hooks, a list of directories, or a list of registry keys.

At 504, the integrity manager removes the representation of the component or the connection from the computing device list.

Alternatively to the removing at 504, the integrity manager, at 506, intercepts a response to a request for contents of the computing device list and, at 508, removes the representation of the component or the connection from the response.

Alternatively to the removing at 504 and to the response interception at 506, the integrity manager, at 506, intercepts a request to open a directory associated with the kernel-mode component and, at 510, responds that the directory does not exist or is not available.

CONCLUSION

Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described. Rather, the specific features and acts are disclosed as exemplary forms of implementing the claims. 

1.-20. (canceled)
 21. One or more computer storage media having stored thereon a plurality of executable instructions configured to program a computing device to perform operations comprising: determining whether a computing device list includes a representation of a component or a connection associated with a kernel-mode component of the computing device; and in response to the determining, performing one of: removing the representation of the component or the connection from the computing device list, or removing the representation of the component or the connection from a response to a request for contents of the computing device list.
 22. The one or more computer storage media of claim 21, wherein the computing device list is a list of drivers, a list of network connections, a list of operating system hooks, a list of directories, or a list of registry keys.
 23. The one or more computer storage media of claim 21, wherein the component is a driver, an operating system hook, a directory, or a registry key.
 24. The one or more computer storage media of claim 21, wherein the operations further comprise intercepting the response to the request for contents of the computing device list.
 25. The one or more computer storage media of claim 21, wherein the operations further comprise intercepting a request to open a directory associated with the kernel-mode component and responding that the directory does not exist or is not available.
 26. The one or more computer storage media of claim 21, wherein the component is a component of the kernel-mode component, and the executable instructions configured to program the computing device to perform the determining, the removing the representation from the computing device list, or the removing the representation from the response are instructions of the kernel-mode component.
 27. The one or more computer storage media of claim 26, wherein the executable instructions configured to program the computing device to perform the determining, the removing the representation from the computing device list, or the removing the representation from the response are instructions of an integrity manager of the kernel-mode component.
 28. A method implemented by a computing device, the method comprising: determining whether a computing device list includes a representation of a component or a connection associated with a kernel-mode component of the computing device; and in response to the determining, performing one of: removing the representation of the component or the connection from the computing device list, or removing the representation of the component or the connection from a response to a request for contents of the computing device list.
 29. The method of claim 28, wherein the computing device list is a list of drivers, a list of network connections, a list of operating system hooks, a list of directories, or a list of registry keys.
 30. The method of claim 28, wherein the component is a driver, an operating system hook, a directory, or a registry key.
 31. The method of claim 28, further comprising intercepting the response to the request for contents of the computing device list.
 32. The method of claim 28, further comprising intercepting a request to open a directory associated with the kernel-mode component and responding that the directory does not exist or is not available.
 33. The method of claim 28, wherein the component is a component of the kernel-mode component, and the determining, the removing the representation from the computing device list, or the removing the representation from the response are performed by the kernel-mode component.
 34. The method of claim 33, wherein the determining, the removing the representation from the computing device list, or the removing the representation from the response are performed by an integrity manager of the kernel-mode component.
 35. A computing device comprising: a processor; a kernel-mode component configured to be operated by the processor to perform operations including: determining whether a computing device list includes a representation of a component or a connection associated with the kernel-mode component of the computing device; and in response to the determining, performing one of: removing the representation of the component or the connection from the computing device list, or removing the representation of the component or the connection from a response to a request for contents of the computing device list.
 36. The computing device of claim 35, wherein the computing device list is a list of drivers, a list of network connections, a list of operating system hooks, a list of directories, or a list of registry keys.
 37. The computing device of claim 35, wherein the component is a driver, an operating system hook, a directory, or a registry key.
 38. The computing device of claim 35, wherein the operations further include intercepting the response to the request for contents of the computing device list.
 39. The computing device of claim 35, wherein the operations further include intercepting a request to open a directory associated with the kernel-mode component and responding that the directory does not exist or is not available.
 40. The computing device of claim 35, wherein the kernel-mode component includes an integrity manager configured to perform the determining, the removing the representation from the computing device list, or the removing the representation from the response. 